/**
 * File：   所有的请求api.
 */
import * as shopApi from './shop'
import * as gardenApi from './garden'
import * as blogApi from './blog'

let api = {}

// 加入商店的请求api
Object.keys(shopApi).forEach(k => {
  api[k] = shopApi[k]
})

// 加入花园的请求api
Object.keys(gardenApi).forEach(k => {
  api[k] = gardenApi[k]
})

// 加入blog的请求api
Object.keys(blogApi).forEach(k => {
  api[k] = blogApi[k]
})

Object.keys(api).forEach(k => {
  exports[k] = api[k]
})